#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define com_talk_fun_TalkfunLive   @"com.talk-fun.TalkfunLive"
#define com_talk_fun_HuanyunLive   @"com.talk-fun.HuanyunLive"
#define com_talk_fun_Kaijiang      @"com.talk-fun.Kaijiang"

//--------------------------------------------------------------------------------
@interface TalkFunExceptionHandler : NSObject


/** (SDK 唯一标识符   com.talk-fun.TalkfunLive       欢云播
                  com.talk-fun.HuanyunLive     欢云播-主播版)
 
    
 */
+ (void)startWithAppId:(NSString * _Nonnull )appId sdkVersion:(NSString * _Nonnull )version;

/**查询本地的错误记录*/
+ (NSArray <NSString *>* _Nonnull)getPaths;

/** 上报自定义Objective-C异常 */
+ (void)reportException:(NSString*_Nonnull)zipPath   callback:(void (^_Nonnull)(NSInteger code , NSString *_Nonnull  msg))callback;

/**清空所有Objective-C的异常*/
+ (void)clearAllException;

/**清空指定Objective-C的异常*/
+ (BOOL)clearException:(NSString* _Nonnull)zipPath;

@end
